package com.lz.math;
/**
 * RoundTest..
 *
 * @author Lizhong
 * @date 2019/8/23
 */
public class RoundTest {
    public static void main(String[] args) {
        double random = Math.round(-1.5);
        System.out.println(random); // -1
    }
}
